package com.book.manager.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.book.manager.model.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleMapper extends BaseMapper<Role> {
    List<Role> listRoleWithUser(@Param("userNo")String userNo);

    List<Role> listAllRole();
}
